package com.youkeyi.ddy.cloud.common.api.application.business.crm.config;

import com.youkeyi.ddy.cloud.common.api.application.business.crm.config.dto.BusinessCustomerInputConfigListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.config.param.BusinessCustomerInputConfigCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.config.param.BusinessCustomerInputConfigDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.config.param.BusinessCustomerInputConfigListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.config.param.BusinessCustomerInputConfigUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.server.dto.SystemServerListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.system.server.param.SystemServerCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.server.param.SystemServerDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.server.param.SystemServerListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.server.param.SystemServerUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * SystemServerCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/customer/input/config/fallback")
public class BusinessCustomerInputConfigCloudServiceFallback implements BusinessCustomerInputConfigCloudService {

    @Override
    public BusinessCustomerInputConfigListCloudDto list(BusinessCustomerInputConfigListCloudParam param) {
        return new BusinessCustomerInputConfigListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessCustomerInputConfigCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessCustomerInputConfigUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessCustomerInputConfigDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
